package day08test;

public class Student {
    private String name;
    private int age;
    private String gender;
    private String className;
    private String stuId;

    public Student() {
    }

    public Student(String name,int age,String gender){

    }

    public Student(String name, int age, String gender, String className, String stuId) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.className = className;
        this.stuId = stuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public void eat(){
        System.out.println("吃饭");
    }
    public void drink(){
        System.out.println("喝水");
    }
}
